package com.gct.domain;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.type.Alias;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;

@Alias("album")
@JsonInclude(Include.NON_NULL)
public class Album<T extends Art> extends BasePojo {
    private static final long serialVersionUID = 4798376004149610311L;
    private String profile;
    @JsonProperty("arts")
    private List<T> artCollection;
    private int size;
    private String coverImgURI;
    private String totalDuration;
    private Date updateDate;

    public String getProfile() {
        return profile;
    }
    public void setProfile(String profile) {
        this.profile = profile;
    }
    public List<T> getArtCollection() {
        return artCollection;
    }
    public void setArtCollection(List<T> artCollection) {
        this.artCollection = artCollection;
    }
    public int getSize() {
        return size;
    }
    public void setSize(int size) {
        this.size = size;
    }
    public String getCoverImgURI() {
        return coverImgURI;
    }
    public void setCoverImgURI(String coverImgURI) {
        this.coverImgURI = coverImgURI;
    }
    public String getTotalDuration() {
        return totalDuration;
    }
    public void setTotalDuration(String totalDuration) {
        this.totalDuration = totalDuration;
    }
    public Date getUpdateDate() {
        return updateDate;
    }
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}
